<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: category_list_box.php 2004/10/29 
//


	
	require DIR_WS_CLASSES . 'category_list.php'; 
    $main_category_list = new category_list;
	$main_category_list->category_list();
    $row = 0;
    $box_categories_array = array();	
	$box_categories_array = $main_category_list->build_list();
	
	require($template->get_template_dir('tpl_category_list_box.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_category_list_box.php');	
		
    $title = BOX_HEADING_CATEGORY_LIST;
    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;
    $title_link = false;
	
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
	
?>